package cn.com.lookang.robot.dao;

import cn.com.lookang.robot.entity.RealmPlayerInfoEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * <p>
 * 团员信息
 * </p>
 *
 * @author lookang
 * @since 2020-07-25
 */
public interface RealmPlayerInfoDao extends PagingAndSortingRepository<RealmPlayerInfoEntity, String>, JpaSpecificationExecutor<RealmPlayerInfoEntity> {

    int countByPlayRealmId(String playRealmId);

    int countByPlayerQqAndPlayRealmId(String playerQq,String playRealmId);
}
